package com.lk.lkappearance.service;

import com.lk.lkappearance.model.Dictionary;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author st
 */
@Service
public interface DictionaryService {


    /**
     * @param dictionary
     * @return
     */
    Map<String,Object> add(Dictionary dictionary);

    /**
     * @return
     */
    Map<String,Object> modify(Dictionary dictionary);

    /**
     * @param dictionaryId
     * @return
     */
    Map<String,Object> delete(String dictionaryId);

    /**
     * @param dictionary
     * @return
     */
    Map<String,Object> getList(Dictionary dictionary);

    /**
     * @param dictionary
     * @return
     */
    Map<String,Object> getListExcel(Dictionary dictionary);

    /**
     * @param dictionary
     * @return
     */
    Map<String,Object> insertList(List<Dictionary> dictionary);


}
